import request from '@/utils/request'

export function getDepNameList(userId) {
  return request({
    url: 'http://localhost:9000/hrm/emp/dep/name/list',
    method: 'get',
    params: { userId }
  })
}

export function getEmpTypeList() {
  return request({
    url: 'http://localhost:9000/hrm/emp/type/list',
    method: 'get',
    params: { }
  })
}

